//上缴国库
const IN_TREASURY = [
  {
    label: '处置人',
    value: 'dealPerson',
    type: 'input',
    rules: [{ required: false, message: '请输入处置人' }]
  },
  {
    label: '处置单位',
    value: 'dealOrg',
    type: 'input',
    rules: [{ required: false, message: '请输入处置单位' }]
  },
  {
    label: '缴款单据凭证号',
    value: 'conVoNo',
    type: 'input',
    rules: [{ required: false, message: '请输入缴款单据凭证号' }]
  },
  {
    label: '缴存账户',
    value: 'depAcc',
    type: 'input',
    rules: [{ required: false, message: '请输入缴存账户' }]
  },
  {
    label: '银行凭证号',
    value: 'accountVoNo',
    type: 'input',
    rules: [{ required: false, message: '请输入银行凭证号' }]
  },
  {
    label: '涉案钱款',
    value: 'proPrice',
    type: 'input-number',
    rules: [{ required: false, message: '请输入涉案钱款' }]
  },
  {
    label: '变现钱款',
    value: 'dealPrice',
    type: 'input-number',
    rules: [{ required: false, message: '请输入变现钱款' }]
  },
  {
    label: '总金额',
    value: 'totalAmount',
    type: 'input-number',
    rules: [{ required: false, message: '请输入总金额' }]
  },
  {
    label: '上缴日期',
    value: 'dealDate',
    type: 'date',
    format: 'yyyy-MM-dd HH:mm:ss',
    rules: [{ required: false, message: '请选择上缴日期' }]
  },
  {
    label: '裁决说明',
    value: 'refrereeDesc',
    type: 'input-textarea'
  }
]
//拍卖
const AUCTION = [
  {
    label: '拍卖时间',
    value: 'dealDate',
    type: 'date',
    format: 'yyyy-MM-dd HH:mm:ss',
    rules: [{ required: false, message: '请选择拍卖时间' }]
  },
  {
    label: '拍卖保留价',
    value: 'floorPrice',
    type: 'input-number',
    rules: [{ required: false, message: '请输入拍卖保留价' }]
  },
  {
    label: '拍卖成交价',
    value: 'dealPrice',
    type: 'input-number',
    rules: [{ required: false, message: '请输入拍卖成交价' }]
  },
  {
    label: '拍卖机构',
    value: 'dealOrg',
    type: 'input',
    rules: [{ required: false, message: '请输入拍卖机构' }]
  },
  {
    label: '拍卖时当事人是否到场',
    value: 'dealIsPresent',
    type: 'select',
    options: [{ label: '是', value: 1 }, { label: '否', value: 0 }]
  },
  {
    label: '存入人',
    value: 'dealPerson',
    type: 'input',
    rules: [{ required: false, message: '请输入存入人' }]
  },
  {
    label: '存款银行',
    value: 'accountBank',
    type: 'bankSelect',
    rules: [{ required: false, message: '请选择存款银行',trigger: 'blur'}]
  },
  {
    label: '存入账户',
    value: 'depAcc',
    type: 'input',
    disabled: true,
  },
  {
    label: '账户单位',
    value: 'accountOrg',
    type: 'input',
    disabled: true,
  },
  {
    label: '定期活期 ',
    value: 'accountType',
    type: 'input',
    disabled: true
  },
  {
    label: '存入日期',
    value: 'depDate',
    type: 'date',
    format: 'yyyy-MM-dd HH:mm:ss',
    rules: [{ required: false, message: '请选择存入日期' }]
  }
]
//审前返还
const BEF_RET = [
  {
    label: '审前返还日期',
    value: 'dealDate',
    type: 'date',
    format: 'yyyy-MM-dd HH:mm:ss',
    rules: [{ required: false, message: '请选择审前返还日期' }]
  },
  {
    label: '审前返还对象',
    value: 'retPerson',
    type: 'input',
    rules: [{ required: false, message: '请输入审前返还对象' }]
  },
  {
    label: '审前返还原因',
    value: 'retReason',
    type: 'input',
    rules: [{ required: false, message: '请输入审前返还原因' }]
  },
  {
    label: '审前返还处置人',
    value: 'dealPerson',
    type: 'input',
    rules: [{ required: false, message: '请输入审前返还处置人' }]
  }
]
//销毁
const DESTROY = [
  {
    label: '送销单位',
    value: 'dealPerson',
    type: 'input',
    rules: [{ required: false, message: '请输入送销单位' }]
  },
  {
    label: '处置单位',
    value: 'dealOrg',
    type: 'input',
    rules: [{ required: false, message: '请输入处置单位' }]
  },
  {
    label: '销毁单位',
    value: 'destoryPerson',
    type: 'input',
    rules: [{ required: false, message: '请输入销毁单位' }]
  },
  {
    label: '销毁时间',
    value: 'destoryDate',
    type: 'date',
    format: 'yyyy-MM-dd HH:mm:ss',
    rules: [{ required: false, message: '请选择销毁时间' }]
  },
  {
    label: '裁决说明',
    value: 'refrereeDesc',
    type: 'input-textarea'
  }
]
//长期保存
const LONG_TIME_SAVE = [
  {
    label: '处置人',
    value: 'dealPerson',
    type: 'input',
    rules: [{ required: false, message: '请输入处置人' }]
  },
  {
    label: '处置时间',
    value: 'dealDate',
    type: 'date',
    format: 'yyyy-MM-dd HH:mm:ss',
    rules: [{ required: false, message: '请输入处置人' }]
  },
  {
    label: '处置单位',
    value: 'dealOrg',
    type: 'input',
    rules: [{ required: false, message: '请输入处置单位' }]
  },
  {
    label: '保存地点',
    value: 'savePlace',
    type: 'input',
    rules: [{ required: false, message: '请输入保存地点' }]
  },
  {
    label: '裁决说明',
    value: 'refrereeDesc',
    type: 'input-textarea'
  }
]
//出售
const OVER_SELL = [
  {
    label: '出售时间',
    value: 'dealDate',
    type: 'date',
    format: 'yyyy-MM-dd HH:mm:ss',
    rules: [{ required: false, message: '请选择出售时间' }]
  },
  {
    label: '出售金额',
    value: 'dealPrice',
    type: 'input',
    rules: [{ required: false, message: '请输入出售金额' }]
  },
  {
    label: '出售机构',
    value: 'dealOrg',
    type: 'input',
    rules: [{ required: false, message: '请输入出售机构' }]
  },
  {
    label: '存入账户',
    value: 'depAcc',
    type: 'input',
    rules: [{ required: false, message: '请输入存入账户' }]
  },
  {
    label: '存入人',
    value: 'dealPerson',
    type: 'input',
    rules: [{ required: false, message: '请输入存入人' }]
  },
  {
    label: '账户单位',
    value: 'accountOrg',
    type: 'input'
  },
  {
    label: '存款银行',
    value: 'accountBank',
    type: 'input'
  },
  {
    label: '存入日期',
    value: 'depDate',
    type: 'date',
    format: 'yyyy-MM-dd HH:mm:ss',
    rules: [{ required: false, message: '请选择存入日期' }]
  },
  {
    label: '定期活期 ',
    value: 'accountType',
    type: 'select',
    options: [{ label: '定期', value: '定期' }, { label: '活期', value: '活期' }]
  }
]
//变现
const REALIZE = [
  {
    label: '变现时间',
    value: 'dealDate',
    type: 'date',
    format: 'yyyy-MM-dd HH:mm:ss',
    rules: [{ required: false, message: '请选择变现时间' }]
  },
  {
    label: '变现金额',
    value: 'dealPrice',
    type: 'input',
    rules: [{ required: false, message: '请输入变现金额' }]
  },
  {
    label: '变现机构',
    value: 'dealOrg',
    type: 'input',
    rules: [{ required: false, message: '请输入变现机构' }]
  },
  {
    label: '存入账户',
    value: 'depAcc',
    type: 'input',
    rules: [{ required: false, message: '请输入存入账户' }]
  },
  {
    label: '存入人',
    value: 'dealPerson',
    type: 'input',
    rules: [{ required: false, message: '请输入存入人' }]
  },
  {
    label: '账户单位',
    value: 'accountOrg',
    type: 'input'
  },
  {
    label: '存款银行',
    value: 'accountBank',
    type: 'input'
  },
  {
    label: '存入日期',
    value: 'depDate',
    type: 'date',
    format: 'yyyy-MM-dd HH:mm:ss',
    rules: [{ required: false, message: '请选择存入日期' }]
  },
  {
    label: '定期活期 ',
    value: 'accountType',
    type: 'select',
    options: [{ label: '定期', value: '定期' }, { label: '活期', value: '活期' }]
  }
]
//返还当事人
const RETURN_PARTIES = [
  {
    label: '处置时间',
    value: 'dealDate',
    type: 'date',
    format: 'yyyy-MM-dd HH:mm:ss',
    rules: [{ required: false, message: '请选择处置时间' }]
  },
  {
    label: '处置人',
    value: 'dealPerson',
    type: 'input',
    rules: [{ required: false, message: '请输入处置人' }]
  },
  {
    label: '返还当事人姓名',
    value: 'retPersonName',
    type: 'input',
    rules: [{ required: false, message: '请输入返还当事人姓名' }]
  },
  {
    label: '返还当事人身份证号码',
    value: 'retPersonCert',
    type: 'input',
    rules: [{ required: false, message: '请输入返还当事人身份证号码' }]
  },
  {
    label: '是否认领',
    value: 'isClaim',
    type: 'select',
    options: [
      { label: '已认领', value: '1' },
      { label: '未认领', value: '2' }
    ],
    rules: [{ required: false, message: '请选择是否认领' }]
  },
  {
    label: '认领日期',
    value: 'claimDate',
    type: 'date',
    format: 'yyyy-MM-dd HH:mm:ss',
  },
  {
    label: '委托接收人姓名',
    value: 'retPrinName',
    type: 'input'
  },
  {
    label: '委托接收人身份证号码',
    value: 'retPrinCert',
    type: 'input'
  },
  {
    label: '委托人与当事人关系',
    value: 'retPrinRelation',
    type: 'input'
  },
  {
    label: '返还日期',
    value: 'retDate',
    type: 'date',
    format: 'yyyy-MM-dd HH:mm:ss',
    rules: [{ required: false, message: '请选择返还日期' }]
  },
  {
    label: '返还原因 ',
    value: 'retReason',
    type: 'input'
  },
  {
    label: '裁决说明',
    value: 'refrereeDesc',
    type: 'input-textarea'
  }
]
//变卖
const SELL_OFF = [
  {
    label: '变卖时间',
    value: 'dealDate',
    type: 'date',
    format: 'yyyy-MM-dd HH:mm:ss',
    rules: [{ required: false, message: '请选择拍卖时间' }]
  },
  {
    label: '变卖保留价',
    value: 'floorPrice',
    type: 'input-number',
    rules: [{ required: false, message: '请输入拍卖保留价' }]
  },
  {
    label: '变卖成交价',
    value: 'dealPrice',
    type: 'input-number',
    rules: [{ required: false, message: '请输入拍卖成交价' }]
  },
  {
    label: '变卖机构',
    value: 'dealOrg',
    type: 'input',
    rules: [{ required: false, message: '请输入拍卖机构' }]
  },
  {
    label: '变卖时当事人是否到场',
    value: 'dealIsPresent',
    type: 'select',
    options: [{ label: '是', value: 1 }, { label: '否', value: 0 }]
  },
  {
    label: '存入账户',
    value: 'depAcc',
    type: 'input',
    rules: [{ required: false, message: '请输入存入账户' }]
  },
  {
    label: '存入人',
    value: 'dealPerson',
    type: 'input',
    rules: [{ required: false, message: '请输入存入人' }]
  },
  {
    label: '账户单位',
    value: 'accountOrg',
    type: 'input'
  },
  {
    label: '存款银行',
    value: 'accountBank',
    type: 'input'
  },
  {
    label: '存入日期',
    value: 'depDate',
    type: 'date',
    format: 'yyyy-MM-dd HH:mm:ss',
    rules: [{ required: false, message: '请选择存入日期' }]
  },
  {
    label: '定期活期 ',
    value: 'accountType',
    type: 'select',
    options: [{ label: '定期', value: '定期' }, { label: '活期', value: '活期' }]
  }
]

export {
  IN_TREASURY,
  AUCTION,
  BEF_RET,
  DESTROY,
  LONG_TIME_SAVE,
  OVER_SELL,
  REALIZE,
  RETURN_PARTIES,
  SELL_OFF
}
